Skip to content

Add lgpl license - #116

Merged
jorgensd merged 2 commits into
masterfrom
dokken/lesser-license
Nov 19, 2026
Merged

jorgensd merged 2 commits into
masterfrom
dokken/lesser-license

Conversation

@jorgensd

@jorgensd jorgensd commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Add an LGPL 3.0 license to turtle.
@keiyamamo, @aslakbergersen, @albansouche, @dbruneau-mie, @johannesring
Please let me know if you have anything against this change.

GPL vs. LGPL:

If someone builds an application using a GPL library and distributes it, the GPL requires their entire application to be open-sourced under the GPL. The LGPL, however, allows developers to use our library in private, commercial, or closed-source applications without having to open-source their own proprietary code, provided they "dynamically link" to our library. How this works in Python:
Because Python is an interpreted language, the standard import turtle mechanism acts as dynamic linking. As long as the closed-source developer relies on the user installing turtle separately (e.g., via pip), the end-user can easily swap out the library with a modified version. This perfectly satisfies the LGPL, meaning closed-source developers are completely safe using standard imports.The Bundling Exception (PyInstaller):
The only catch for closed-source developers is if they use tools like PyInstaller or cx_Freeze to bundle their application and turtle together into a single, standalone executable. This acts like static linking. Because the end-user can no longer easily swap out the turtle library, the closed-source developer would violate the LGPL unless they provide object files or another way for the user to relink the app (which is very difficult in Python).

Modifying Turtle:

If anyone modifies the source code of Turtle itself and distributes it, those modifications must always be shared under the LGPL.

In-House

Usage:

Neither license restricts commercial use if the code is strictly run in-house. Both the GPL and LGPL are triggered exclusively by distribution. If a company uses the code internally on their own servers or machines, they are not distributing it, and no source code sharing is required.

@keiyamamo

Copy link
Copy Markdown
Collaborator

@jorgensd I have no objection

@albansouche

Copy link
Copy Markdown
Contributor

@jorgensd I have no objection either, as long as it allows for greater usage.

@aslakbergersen

Copy link
Copy Markdown
Contributor

@jorgensd no objection! 👍

@jorgensd
jorgensd merged commit 3ff5843 into master Nov 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants